package com.sophossystems.client.asmon.dao;

import com.sophossystems.client.asmon.dao.RecolectaDocDao;
import com.sophossystems.client.asmon.dto.RecolectaDocDTO;
import com.sophossystems.client.asmon.dto.RecolectaDocPkDTO;
import com.sophossystems.client.asmon.exceptions.DaoException;
import java.util.List;

public interface RecolectaDocDao
{
	/**
	 * Method 'insert'
	 * 
	 * @param dto
	 * @return RecolectaDocPk
	 */
	public RecolectaDocPkDTO insert(final RecolectaDocDTO dto);

	/** 
	 * Updates a single row in the RECOLECTA_DOC table.
	 */
	public void update(final RecolectaDocDTO dto) throws DaoException;

	/** 
	 * Deletes a single row in the RECOLECTA_DOC table.
	 */
	public void delete(final RecolectaDocPkDTO pk) throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'idRecolectaDoc = :idRecolectaDoc'.
	 */
	public RecolectaDocDTO findByPrimaryKey(final int idRecolectaDoc) throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria ''.
	 */
	public List<RecolectaDocDTO> findAll() throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'idRecolectaDoc = :idRecolectaDoc'.
	 */
	public List<RecolectaDocDTO> findWhereIdRecolectaDocEquals(final int idRecolectaDoc) throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'idCliente = :idCliente'.
	 */
	public List<RecolectaDocDTO> findWhereIdClienteEquals(final int idCliente) throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'idDireccion = :idDireccion'.
	 */
	public List<RecolectaDocDTO> findWhereIdDireccionEquals(final int idDireccion) throws DaoException;

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'contacto = :contacto'.
	 
	public List<RecolectaDocDTO> findWhereContactoEquals(String contacto) throws DaoException;*/

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'tel1 = :tel1'.
	 
	public List<RecolectaDocDTO> findWhereTel1Equals(int tel1) throws DaoException;*/

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'ext1 = :ext1'.
	 
	public List<RecolectaDocDTO> findWhereExt1Equals(int ext1) throws DaoException;*/

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'periodoRec = :periodoRec'.
	 
	public List<RecolectaDocDTO> findWherePeriodoRecEquals(String periodoRec) throws DaoException;*/

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'horarioRecoleccion = :horarioRecoleccion'.
	 
	public List<RecolectaDocDTO> findWhereHorarioRecoleccionEquals(String horarioRecoleccion) throws DaoException;*/

	/** 
	 * Returns all rows from the RECOLECTA_DOC table that match the criteria 'zona = :zona'.
	 
	public List<RecolectaDocDTO> findWhereZonaEquals(String zona) throws DaoException;*/

	/** 
	 * Returns the rows from the RECOLECTA_DOC table that matches the specified primary-key value.
	 */
	public RecolectaDocDTO findByPrimaryKey(RecolectaDocPkDTO pk) throws DaoException;
	
	public RecolectaDocPkDTO findLastInsert() throws DaoException;

}
